package com.yst.common.enums;

/**
 * 用户状态
 * 
 * @author ruoyi
 */
public enum OrderStatus
{
    CREATED("0", "待发货"), OK("10", "已完结"), DELETED("20", "已取消");

    private final String code;
    private final String info;

    OrderStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
